package com.ruoyi.aitapp.vo;

import cn.hutool.core.date.DateTime;
import lombok.Data;

@Data
public class UserRunTimeVO {
    private String userCode;
    private String loginTime;
    private String logoutTime;
    private int status=0; //0:登录 1:登出 2:异常
    private String statusName;
    private String err;
    private String lastPageCode;
    private String lastPageName;

    public String getStatusName() {
    	if(status==0) {
    		return "登录";
    	}else if(status==1) {
    		return "登出";
    	}else if(status==2) {
    		return "异常";
    	}
    	return "";
    }
}
